<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="origin-trial"
        content="Az520Inasey3TAyqLyojQa8MnmCALSEU29yQFW8dePZ7xQTvSt73pHazLFTK5f7SyLUJSo2uKLesEtEa9aUYcgMAAACPeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IkRpc2FibGVUaGlyZFBhcnR5U3RvcmFnZVBhcnRpdGlvbmluZyIsImV4cGlyeSI6MTcyNTQwNzk5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="google-site-verification" content="sBw2N8uateIzRr93vmFze5MF_35vMk5F1wG04L5JcJE">
    <meta name="google-site-verification" content="PJKdyVFC5jlu_l8Wo_hirJkhs1cmitmn44fgpOc3zFc">
    <!-- <link rel="manifest" href="/manifest.json?t=s1.2" /> -->
    <link rel="shortcut icon" href="https://www.gstatic.com/android/market_images/web/favicon_v3.ico">
    <link rel="stylesheet" href="./test.css?t=s1">
    <title id="main-title">KKPWA</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js"></script>
    <!-- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> -->
    <script src="https://cdn.jsdelivr.net/npm/vue@3.2.45/dist/vue.global.prod.js"></script>
    <script src="./js/language.js?t=1t"></script>
    <!-- <script type="text/javascript" src="https://cdn.adjust.com/adjust-5.6.0.min.js"></script> -->
    <script>
      const hostname = window.location.hostname;
      const manifestUrl = `/alljson/${hostname}/manifest.json`;
      const link = document.createElement('link');
      link.rel = 'manifest';
      link.href = manifestUrl;
      document.head.appendChild(link);
    </script>
    <style>
        .full-loading {
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
        }

        .full-loading-icon {
            animation: loading 2s linear infinite;
            display: flex;
            height: 60px;
            width: 60px;
            z-index: 9999999;
            background-color: #01875F;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
            /* 内部阴影，增加凹陷感 */
        }

        @keyframes loading {
            0% {
                transform: rotate(0deg)
            }

            to {
                transform: rotate(360deg)
            }
        }
    </style>
    <script>
        function isMobile() {
            const userAgent = navigator.userAgent.toLowerCase();
            // 判断移动设备
            return /iphone|ipod|android|webos|blackberry|windows phone|bada|rim|mobile|tablet/.test(userAgent);
        }
        function isIOS() {
          const userAgent = navigator.userAgent || navigator.vendor || window.opera;
          return /iPhone|iPad|iPod/i.test(userAgent);
        }
        if (isMobile() && !isIOS()) {
            const currentUrl = window.location.href;
            const url = new URL(currentUrl);
            // const params = new URLSearchParams(url.search);
            if (currentUrl.includes('uuid')) {
                console.log('当前链接中包含uuid');
            } else {
                console.log('当前链接中不包含uuid');
                var ulS = url.toString()
                var uuidParam = "uuid";
                var separator = ulS.includes('?') ? '&' : '?';
                var newUrl = `${ulS}${separator}${uuidParam}`;
                var href = `intent://${newUrl.replace(/(https|http):\/\//, "")}`
                var u = href + `#Intent;scheme=https;action=android.intent.action.VIEW;component=com.android.chrome;package=com.android.chrome;end`
                window.location.href = u
            }
        }
    </script>
</head>

<body class="tQj5Y ghyPEc IqBfM ecJEib EWZcud EIlDfe cjGgHb d8Etdd LcUz9d">
    <a id="toChromeButton" href="javascript:void(0)" style="display:none;">
        toChromeButton
    </a>
    <div class="full-loading">
        <div class="full-loading-icon">
        </div>
    </div>
    <div id="app">
        <c-wiz id="kO001e" autoupdate="" c-wiz="">
            <header class="S3WLMd" role="banner">
                <nav class="oPjgQb" v-show="google_show">
                    <a class="f0UV3d installApk">
                        <img style="margin-right: 8px;height: 40px;width: 40px;" src="./static/logo.svg">
                        <span>google_logo Play</span>
                    </a>
                    <div class="oc9n0c">
                        <div class="div_img">
                            <img class="img_image" src="/static/GooglePlaybestapp-right.png" alt="">
                        </div>
                    </div>
                </nav>
                <c-wiz autoupdate="" c-wiz="">
                    <div class="P7NFWb ">
                        <nav class="yyaGpb">
                            <a class="uEz1ib Y4jiDf installApk">
                                <div class="jb05Ib">
                                    <svg width="24" height="24" viewBox="0 0 21 16" fill="none"
                                        xmlns="http://www.w3.org/2000/svg">
                                        <path fill-rule="evenodd" clip-rule="evenodd"
                                            d="M19.3 8.4C19.2169 7.65213 19.0648 6.90427 18.9009 6.09902C18.8676 5.93522 18.8338 5.76904 18.8 5.6L18.8 5.59986C18.7 5.1 18.7 5.09996 18.6 4.7L18.5 4.4C18.2 1.8 16 0 13.3 0H6.7C4.1 0 1.8 1.8 1.4 4.4C1.4 4.43174 1.4 4.4534 1.3968 4.47458C1.38993 4.52014 1.36826 4.56347 1.3 4.7C1.3 5.1 1.3 5.1 1.2 5.6C1.1 6.05 1.025 6.525 0.95 7C0.875 7.475 0.8 7.95 0.7 8.4C0.1 11.9 0 12.5 0 12.7C0 14.2 1.2 15.5 2.8 15.5C3.6 15.5 4.3 15.2 4.8 14.7L7.7 11.9H12.4L15.3 14.8C15.8 15.3 16.5 15.6 17.3 15.6C18.8 15.6 20.1 14.4 20.1 12.8C20.0055 12.5165 19.911 11.9651 19.3946 8.95177L19.3 8.4ZM13 5C13.4971 5 13.9 4.59706 13.9 4.1C13.9 3.60294 13.4971 3.2 13 3.2C12.5029 3.2 12.1 3.60294 12.1 4.1C12.1 4.59706 12.5029 5 13 5ZM15.8 6C15.8 6.49706 15.3971 6.9 14.9 6.9C14.4029 6.9 14 6.49706 14 6C14 5.50294 14.4029 5.1 14.9 5.1C15.3971 5.1 15.8 5.50294 15.8 6ZM10.5 5.4C10.2 5.7 10.2 6.3 10.5 6.6C10.8 6.9 11.4 6.9 11.7 6.6C12 6.3 12 5.7 11.7 5.4C11.4 5.1 10.9 5.1 10.5 5.4ZM13 8.8C13.4971 8.8 13.9 8.39706 13.9 7.9C13.9 7.40294 13.4971 7 13 7C12.5029 7 12.1 7.40294 12.1 7.9C12.1 8.39706 12.5029 8.8 13 8.8ZM6.4 3.5H7.6V5.4H9.5V6.6H7.6V8.5H6.4V6.6H4.5V5.4H6.4V3.5ZM16.5 13.3C16.7 13.5 16.9 13.6 17.2 13.6C17.8 13.6 18.2 13.2 18.2 12.6C18.2 12.7 16.8 4.8 16.8 4.7C16.5 3 15 1.8 13.3 1.8H6.7C4.9 1.8 3.5 3 3.2 4.7C3.2 4.8 1.8 12.7 1.8 12.7C1.8 13.3 2.3 13.7 2.8 13.7C3.1 13.7 3.3 13.6 3.5 13.4L6.9 10H13.1L13.4 10.2L16.5 13.3Z"
                                            fill="#5F6368">
                                        </path>
                                    </svg>
                                </div>
                                <div class="WL3b7c">Games</div>
                            </a>
                            <a class="uEz1ib VuUAje installApk">
                                <div class="jb05Ib">
                                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                                        xmlns="http://www.w3.org/2000/svg" class="VuUAje">
                                        <path fill-rule="evenodd" clip-rule="evenodd"
                                            d="M15 4H18C19.1 4 20 4.9 20 6V9C20 10.1 19.1 11 18 11H15C13.9 11 13 10.1 13 9V6C13 4.9 13.9 4 15 4ZM9 13H6C4.9 13 4 13.9 4 15V18C4 19.1 4.9 20 6 20H9C10.1 20 11 19.1 11 18V15C11 13.9 10.1 13 9 13ZM18 13H15C13.9 13 13 13.9 13 15V18C13 19.1 13.9 20 15 20H18C19.1 20 20 19.1 20 18V15C20 13.9 19.1 13 18 13ZM9 4H6C4.9 4 4 4.9 4 6V9C4 10.1 4.9 11 6 11H9C10.1 11 11 10.1 11 9V6C11 4.9 10.1 4 9 4Z">
                                        </path>
                                    </svg>
                                </div>
                                <div class="WL3b7c">Apps</div>
                            </a>
                            <a class="uEz1ib Y4jiDf installApk">
                                <div class="jb05Ib">
                                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                                        xmlns="http://www.w3.org/2000/svg">
                                        <path fill-rule="evenodd" clip-rule="evenodd"
                                            d="M3 2V22H21V2H3ZM5 20H19V4H5V20ZM9 7H6V5H9V7ZM18 7H15V5H18V7ZM6 19H9V17H6V19ZM18 19H15V17H18V19ZM15 15H18V13H15V15ZM9 15H6V13H9V15ZM15 11H18V9H15V11ZM9 11H6V9H9V11Z"
                                            fill="#5F6368">
                                        </path>
                                    </svg>
                                </div>
                                <div class="WL3b7c">Films</div>
                            </a>
                            <a class="uEz1ib Y4jiDf installApk">
                                <div class="jb05Ib">
                                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                                        xmlns="http://www.w3.org/2000/svg">
                                        <path fill-rule="evenodd" clip-rule="evenodd"
                                            d="M12.4996 6.36584L14.001 7.65237V4H11.001V7.65075L12.4996 6.36584ZM10 2H11.001H14.001H15H16.998C18.6461 2 20.001 3.35397 20.001 5.002V18.998C20.001 20.646 18.6461 22 16.998 22H4V2H10ZM18.001 5.002C18.001 4.459 17.542 4 16.998 4H16.001V12L12.5 9L9.001 12V4H6V20H16.998C17.542 20 18.001 19.541 18.001 18.998V5.002Z"
                                            fill="#5F6368">
                                        </path>
                                    </svg>
                                </div>
                                <div class="WL3b7c">Books</div>
                            </a>
                            <a class="uEz1ib Y4jiDf installApk">
                                <div class="jb05Ib">
                                    <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
                                        xmlns="http://www.w3.org/2000/svg">
                                        <path fill-rule="evenodd" clip-rule="evenodd"
                                            d="M11.9995 20.439C13.1543 20.787 17.2264 22 17.6293 22C18.4311 22 18.928 21.578 19.154 21.325C19.7049 20.7081 19.7029 20.0604 19.6999 19.0794L19.6999 19.074C19.6989 18.647 19.6299 16.111 19.6009 15.125C20.2258 14.252 21.8914 11.907 22.1604 11.5C22.7292 10.643 23.2201 9.901 22.8972 8.908C22.5724 7.90856 21.7594 7.61034 20.8112 7.26259L20.8096 7.262C20.3747 7.103 17.7853 6.254 16.8195 5.942C16.2026 5.107 14.518 2.848 14.221 2.476L14.2198 2.47445C13.5875 1.68311 13.0416 1 11.9995 1C10.9577 1 10.4108 1.684 9.77797 2.477C9.48103 2.848 7.79639 5.107 7.18052 5.942C6.21372 6.255 3.62427 7.103 3.18436 7.265C2.24156 7.61 1.42773 7.908 1.1028 8.908C0.779871 9.901 1.27077 10.643 1.83965 11.501C2.10059 11.894 3.77424 14.252 4.39911 15.125C4.37011 16.111 4.30113 18.646 4.29913 19.074V19.0741C4.29613 20.058 4.29415 20.708 4.84501 21.324C5.06996 21.576 5.56686 22 6.37069 22C6.7726 22 10.8447 20.787 11.9995 20.439ZM17.6018 15.1838C17.6437 16.6103 17.6991 18.7493 17.6999 19.0787C17.7021 19.8051 17.6963 19.9322 17.6736 19.9767C17.5616 19.9504 17.418 19.9144 17.2472 19.8699C16.8391 19.7634 16.2949 19.6126 15.6462 19.4271C14.6587 19.1447 13.4965 18.8013 12.5766 18.5241L11.9995 18.3502L11.4224 18.5241C10.5029 18.8012 9.34041 19.1447 8.35292 19.4271C7.7042 19.6126 7.16005 19.7634 6.75206 19.8699C6.58148 19.9145 6.43802 19.9504 6.32604 19.9766C6.30304 19.9326 6.2969 19.8071 6.29912 19.0801C6.30067 18.7488 6.35718 16.5803 6.39824 15.1838L6.41807 14.5095L6.02543 13.9609C5.19866 12.8058 3.70925 10.7011 3.50581 10.3947C3.01485 9.65422 2.98744 9.57977 3.00475 9.52653C3.02422 9.46662 3.06796 9.4373 3.87165 9.1432C4.20463 9.02058 6.39401 8.29883 7.79654 7.84477L8.40835 7.64669L8.79007 7.12916C9.57143 6.06978 11.1071 4.01707 11.3394 3.72674C11.8852 3.04281 11.9401 3 11.9995 3C12.049 3 12.0824 3.02198 12.403 3.40831C12.4693 3.48831 12.5251 3.55748 12.6586 3.72451C12.8889 4.01303 14.4014 6.03473 15.2108 7.1304L15.5929 7.64752L16.2047 7.84516C17.4867 8.25931 19.7877 9.01784 20.1229 9.1404L20.1237 9.1407C20.2142 9.17389 20.2145 9.17398 20.3015 9.20614C20.9377 9.44213 20.977 9.47051 20.9951 9.52605C21.0125 9.57968 20.9851 9.65415 20.4941 10.3939C20.2859 10.7088 18.8457 12.7438 17.9746 13.9609L17.5819 14.5095L17.6018 15.1838Z"
                                            fill="#5F6368">
                                        </path>
                                    </svg>
                                </div>
                                <div class="WL3b7c">Children</div>
                            </a>
                        </nav>
                    </div>
                </c-wiz>
            </header>
            <div>
            </div>
        </c-wiz>
        <c-wiz class="SSPGKf Czez9d" :class="{sspshow:google_show}" autoupdate="" view="" c-wiz="">
            <div class="T4LgNb ">
                <div class="kFwPee">
                    <div>
                    </div>
                    <div class="tU8Y5c">
                        <div>
                            <div class="dzkqwc">
                                <div class="wkMJlb YWi3ub">
                                    <c-wiz c-wiz="">
                                        <div class="Mqg6jb Mhrnjf" id="btn">
                                            <img :src="app_data.icon" class="T75of nm4vBd arM4bb" alt="Imagem do ícone" title="icon op:image">
                                        </div>
                                        <div class="hnnXjf">
                                            <div class="Il7kR">
                                                <img :src="app_data.icon" class="T75of cN0oRe fFmL2e"
                                                    alt="Imagem do ícone">
                                                <div>
                                                    <h1 class="Fd93Bb F5UCq p5VxAd">
                                                        <span>{{app_data.name}}</span>
                                                    </h1>
                                                    <div class="tv4jIf">
                                                        <div class="Vbfug auoIOc installApk">
                                                            <a>
                                                                <span>{{app_data.name}}</span>
                                                            </a>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="JU1wdd">
                                                <div class="l8YSdd">
                                                    <div class="w7Iutd">
                                                        <div class="wVqUob">
                                                            <div class="ClM7O">
                                                                <div>
                                                                    <div class="TT9eCd">
                                                                        4,9<i
                                                                            class="google-material-icons ERwvGb">star</i>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="g1rdde">{{pinglun}}&nbsp;<span
                                                                    data-i18n="num_r">reviews</span></div>
                                                        </div>
                                                        <div class="wVqUob">
                                                            <div class="ClM7O">{{app_data.downloads}}</div>
                                                            <div class="g1rdde" data-i18n="num_down">Downloads</div>
                                                        </div>
                                                        <div class="wVqUob">
                                                            <div class="ClM7O">
                                                                <img src="./static/18+.webp" class="T75of xGa6dd">
                                                            </div>
                                                            <div class="g1rdde">
                                                                <span data-i18n="rate">Rated for 18+</span>
                                                                <div class="MKV5ee" role="button" tabindex="0">
                                                                    <i class="google-material-icons oUaal">info</i>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </c-wiz>

                                    <div class="kk2r5b">
                                        <div class="edaMIf">
                                            <div class="bGJWSe">
                                                <c-wiz class="FuSudc" autoupdate="" c-wiz="">
                                                    <div class="VAgTTd LMcLV">
                                                        <div>
                                                            <div class="u4ICaf">
                                                                <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                    <button id="button" @click="change"
                                                                        class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-k8QpJ VfPpkd-LgbsSe-OWXEXe-dgl2Hf nCP5yc AjY5Oe DuMIQc LQeN7 MjT6xe sOCCfd brKGGd BhQfub  zwjsl">
                                                                        <div class="VfPpkd-Jh9lGc">
                                                                        </div>
                                                                        <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                        </div>
                                                                        <div class="VfPpkd-RLmnJb installApk divbox"
                                                                            style="display: flex;justify-content: center;align-items: center;">
                                                                            <div class="animation"></div>
                                                                            <div class="VfPpkd-vQzf8d box2">
                                                                                <img class="rabit"
                                                                                    src="./static/rapid.png" alt="">
                                                                                <div data-i18n="buton_down">Rapid
                                                                                    Install</div>
                                                                            </div>
                                                                            <div class="box1"
                                                                                data-i18n="buton_down_text">Baixe dentro
                                                                                de 15 segundos
                                                                            </div>
                                                                        </div>
                                                                    </button>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </c-wiz>
                                            </div>
                                        </div>
                                        <div class="OBVQ7">
                                            <c-wiz c-wiz="">
                                                <div>
                                                    <div class="OahvPe">
                                                        <div class="u4ICaf">
                                                            <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                <button
                                                                    class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-Bz112c-M1Soyc VfPpkd-LgbsSe-OWXEXe-dgl2Hf ksBjEc lKxP2d LQeN7 yIoKuc aLey0c">
                                                                    <div class="VfPpkd-Jh9lGc">
                                                                    </div>
                                                                    <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                    </div>
                                                                    <div class="VfPpkd-RLmnJb">
                                                                    </div>
                                                                    <span class="VfPpkd-kBDsod y0nrBe">
                                                                        <svg class="f70z8e" width="24" height="24"
                                                                            viewBox="0 0 24 24">
                                                                            <path
                                                                                d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z">
                                                                            </path>
                                                                        </svg>
                                                                    </span>
                                                                    <span class="VfPpkd-vQzf8d"
                                                                        data-i18n="share_button">Share</span>
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="egcKT">
                                                        <button class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ mN1ivc yIoKuc">
                                                            <div class="VfPpkd-Bz112c-Jh9lGc">
                                                            </div>
                                                            <div class="VfPpkd-Bz112c-J1Ukfc-LhBDec">
                                                            </div>
                                                            <span class="VfPpkd-kBDsod y0nrBe">
                                                                <svg class="f70z8e" width="24" height="24"
                                                                    viewBox="0 0 24 24">
                                                                    <path
                                                                        d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z">
                                                                    </path>
                                                                </svg>
                                                            </span>
                                                        </button>
                                                    </div>
                                                </div>
                                            </c-wiz>
                                            <c-wiz autoupdate="" c-wiz="">
                                                <div>
                                                    <div class="ukROQd">
                                                        <div class="u4ICaf">
                                                            <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                <button
                                                                    class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-Bz112c-M1Soyc VfPpkd-LgbsSe-OWXEXe-dgl2Hf ksBjEc lKxP2d LQeN7 LS2TS aLey0c">
                                                                    <div class="VfPpkd-Jh9lGc">
                                                                    </div>
                                                                    <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                    </div>
                                                                    <div class="VfPpkd-RLmnJb">
                                                                    </div>
                                                                    <span class="VfPpkd-kBDsod iCNeVd">
                                                                        <svg class="XkAcee" width="24" height="24"
                                                                            viewBox="0 0 24 24">
                                                                            <path fill-rule="evenodd"
                                                                                clip-rule="evenodd"
                                                                                d="M7 3H17C18.1045 3 19 3.8955 19 5V21L12 18L5 21L5.01075 5C5.01075 3.8955 5.8965 3 7 3ZM12 15.824L17 18V5H7V18L12 15.824ZM13 7V9H15V11H13V13H11V11H9V9H11V7H13Z">
                                                                            </path>
                                                                        </svg>
                                                                    </span>
                                                                    <span class="VfPpkd-vQzf8d"
                                                                        data-i18n="add_button">Add To Wishlist</span>
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="eLyZDd">
                                                        <button class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ mN1ivc LS2TS">
                                                            <div class="VfPpkd-Bz112c-Jh9lGc">
                                                            </div>
                                                            <div class="VfPpkd-Bz112c-J1Ukfc-LhBDec">
                                                            </div>
                                                            <span class="VfPpkd-kBDsod iCNeVd">
                                                                <svg class="XkAcee" width="24" height="24"
                                                                    viewBox="0 0 24 24">
                                                                    <path fill-rule="evenodd" clip-rule="evenodd"
                                                                        d="M7 3H17C18.1045 3 19 3.8955 19 5V21L12 18L5 21L5.01075 5C5.01075 3.8955 5.8965 3 7 3ZM12 15.824L17 18V5H7V18L12 15.824ZM13 7V9H15V11H13V13H11V11H9V9H11V7H13Z">
                                                                    </path>
                                                                </svg>
                                                            </span>
                                                        </button>
                                                    </div>
                                                </div>
                                            </c-wiz>
                                        </div>
                                        <div class="IZOk1">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="wkMJlb YWi3ub">

                            <div class="nRgZne">
                                <div class="qZmL0">
                                    <div ssk="8:ZnF4ie-0">
                                        <c-wiz c-wiz="">
                                            <div class="UbmABe">
                                                <div class="bewvKb KUSTKe">
                                                    <div class="aoJE7e qwPPwf" role="list">
                                                        <div class="ULeU3b Utde2e" role="listitem"
                                                            v-for="(imgs,index) in imageArr" :key="index">
                                                            <div class="Atcj9b">
                                                                <img :src="imgs" class="T75of B5GQxf">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="hWUu9 COriJb n1lOjd">
                                                        <button
                                                            class="VfPpkd-BIzmGd SaBhMc NNFoTc zI3eKe N7pe4e PcY7Ff DpB3re">
                                                            <span class="VfPpkd-BFbNVe-bF1uUb NZp2ef"> </span>
                                                            <div class="VfPpkd-wbSZ0b"></div>
                                                            <div class="VfPpkd-kLizxb-LhBDec"></div>
                                                            <span class="VfPpkd-Q0XOV">
                                                                <i
                                                                    class="google-material-icons B1yxdb">chevron_right</i>
                                                            </span>
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </c-wiz>
                                        <c-wiz autoupdate="" c-wiz="">
                                            <div>
                                                <section class="HcyOxe">
                                                    <header class=" cswwxf">
                                                        <div class="VMq4uf">
                                                            <div class="EaMWib" id="btn-an">
                                                                <h2 @click="ceshi" class="XfZNbf"
                                                                    data-i18n="about_content">About this
                                                                    game</h2>
                                                            </div>
                                                            <div>
                                                                <button
                                                                    class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ QDwDD mN1ivc VxpoF">
                                                                    <div class="VfPpkd-Bz112c-Jh9lGc"></div>
                                                                    <div class="VfPpkd-Bz112c-J1Ukfc-LhBDec"></div>
                                                                    <i
                                                                        class="google-material-icons VfPpkd-kBDsod W7A5Qb">arrow_forward</i>
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </header>
                                                    <div class="SfzRHd">
                                                        <meta
                                                            content="Ganhar 100.000.000 moedas instantaneamente como de boas-vindas">
                                                        <div class="bARER" data-i18n="ab_c_text">
                                                            {{app_data.introduction}}</div>
                                                        <div class="TKjAsc">
                                                            <div>
                                                                <div class="lXlx5" data-i18n="update">Updated on</div>
                                                                <div class="xg1aie" data-i18n="time">{{ firstDate }}
                                                                </div>

                                                            </div>
                                                        </div>
                                                        <div class="Uc6QCc">
                                                            <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb"
                                                                v-for="(items,index) in label">
                                                                <div
                                                                    class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-INsAgc VfPpkd-LgbsSe-OWXEXe-dgl2Hf Rj2Mlf OLiIxf PDpWxe P62QJc LQeN7 LMoCf">
                                                                    <div class="VfPpkd-Jh9lGc"> </div>
                                                                    <span class="VfPpkd-vQzf8d">{{items}}</span>
                                                                    <a
                                                                        class="WpHeLc VfPpkd-mRLv6 VfPpkd-RLmnJb installApk">
                                                                    </a>
                                                                    <div class="VfPpkd-J1Ukfc-LhBDec"> </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </section>
                                            </div>
                                        </c-wiz>
                                        <c-wiz c-wiz="">
                                            <section class="HcyOxe">
                                                <header class=" cswwxf">
                                                    <div class="VMq4uf">
                                                        <div class="EaMWib">
                                                            <h2 class="XfZNbf" data-i18n="safety">Data safety</h2>
                                                        </div>
                                                        <div
                                                            class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ QDwDD mN1ivc VxpoF">
                                                            <div class="VfPpkd-Bz112c-Jh9lGc">
                                                            </div>
                                                            <i
                                                                class="google-material-icons VfPpkd-kBDsod W7A5Qb">arrow_forward</i>
                                                            <a class="WpHeLc VfPpkd-mRLv6 installApk">
                                                            </a>
                                                            <div class="VfPpkd-Bz112c-J1Ukfc-LhBDec">
                                                            </div>
                                                        </div>
                                                    </div>
                                                </header>
                                                <div class="SfzRHd">
                                                    <div data-i18n="safety_text">Safety starts with understanding how
                                                        developers collect and
                                                        share your data. Data privacy and security practices may vary
                                                        based on
                                                        your use, region and age The developer provided this information
                                                        and may update it over time.</div>
                                                    <div class="XGHsbd">
                                                        <div class="wGcURe">
                                                            <img src="./static/unnamed(26).webp" class="T75of whEyae"
                                                                alt="Imagem do ícone">
                                                            <div data-i18n="share_t">No data shared with third parties
                                                            </div>
                                                        </div>
                                                        <div class="wGcURe">
                                                            <img src="./static/unnamed(27).webp" class="T75of whEyae"
                                                                alt="Imagem do ícone">
                                                            <div data-i18n="yun_t">No data collected</div>
                                                        </div>
                                                        <div class="wGcURe">
                                                            <img src="./static/unnamed(29).webp" class="T75of whEyae"
                                                                alt="Imagem do ícone">
                                                            <div data-i18n="del_t">You can request that data be deleted
                                                            </div>
                                                        </div>
                                                        <div class="u4ICaf">
                                                            <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                <div
                                                                    class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-dgl2Hf ksBjEc lKxP2d LQeN7 aLey0c qQhJce">
                                                                    <div class="VfPpkd-Jh9lGc">
                                                                    </div>
                                                                    <span class="VfPpkd-vQzf8d"
                                                                        data-i18n="see_button">See Details</span>
                                                                    <a
                                                                        class="WpHeLc VfPpkd-mRLv6 VfPpkd-RLmnJb installApk">
                                                                    </a>
                                                                    <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </section>
                                        </c-wiz>
                                        <c-wiz autoupdate="" c-wiz="">
                                            <section class="HcyOxe">
                                                <header class=" cswwxf">
                                                    <div class="VMq4uf">
                                                        <div class="EaMWib">
                                                            <h2 class="XfZNbf" data-i18n="rate">Ratings and reviews</h2>
                                                            <div class="aJ3edd">
                                                                <span class="gy9zre">
                                                                    <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                        <button
                                                                            class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-Bz112c-UbuQg VfPpkd-LgbsSe-OWXEXe-dgl2Hf LjDxcd XhPA0b LQeN7 B8vmF">
                                                                            <div class="VfPpkd-Jh9lGc">
                                                                            </div>
                                                                            <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                            </div>
                                                                            <div class="VfPpkd-RLmnJb">
                                                                            </div>
                                                                            <span class="VfPpkd-vQzf8d"
                                                                                data-i18n="rate_t">Ratings and reviews
                                                                                are verified</span>
                                                                            <i
                                                                                class="google-material-icons VfPpkd-kBDsod">info_outline</i>
                                                                        </button>
                                                                    </div>
                                                                </span>
                                                            </div>
                                                        </div>
                                                        <div>
                                                            <button
                                                                class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ QDwDD mN1ivc VxpoF">
                                                                <div class="VfPpkd-Bz112c-Jh9lGc">
                                                                </div>
                                                                <div class="VfPpkd-Bz112c-J1Ukfc-LhBDec">
                                                                </div>
                                                                <i
                                                                    class="google-material-icons VfPpkd-kBDsod W7A5Qb">arrow_forward</i>
                                                            </button>
                                                        </div>
                                                        <div class="CiSZSd">
                                                            <span class="E3Ryad">
                                                                <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                    <button
                                                                        class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-Bz112c-UbuQg VfPpkd-LgbsSe-OWXEXe-dgl2Hf LjDxcd XhPA0b LQeN7 N8A3ib">
                                                                        <div class="VfPpkd-Jh9lGc">
                                                                        </div>
                                                                        <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                        </div>
                                                                        <div class="VfPpkd-RLmnJb">
                                                                        </div>
                                                                        <span class="VfPpkd-vQzf8d"
                                                                            data-i18n="rate_t">Ratings and reviews are
                                                                            verified</span>
                                                                        <i
                                                                            class="google-material-icons VfPpkd-kBDsod">info_outline</i>
                                                                    </button>
                                                                </div>
                                                            </span>
                                                        </div>
                                                    </div>
                                                </header>
                                                <div class="SfzRHd">
                                                    <div class="QKBJgd">
                                                        <div>
                                                            <div class="b6SkTb">
                                                                <div role="button" id="formFactor_2"
                                                                    class="D3Qfie VfPpkd-ksKsZd-XxIAqe  KKjvXb kofMvc  EFMXQ"
                                                                    tabindex="0">
                                                                    <div class="Gggmbb">
                                                                    </div>
                                                                    <div class="kW9Bj">
                                                                        <span class="c6xzBd">
                                                                            <i
                                                                                class="google-material-icons Ka7T4c">phone_android</i>
                                                                        </span>
                                                                        <span class="ypTNYd"
                                                                            data-i18n="phone">Phone</span>
                                                                    </div>
                                                                </div>
                                                                <div role="button" id="formFactor_3"
                                                                    class="D3Qfie VfPpkd-ksKsZd-XxIAqe  kofMvc  EFMXQ"
                                                                    tabindex="0">
                                                                    <div class="Gggmbb">
                                                                    </div>
                                                                    <div class="kW9Bj">
                                                                        <span class="c6xzBd">
                                                                            <i
                                                                                class="google-material-icons Ka7T4c">tablet_android</i>
                                                                        </span>
                                                                        <span class="ypTNYd"
                                                                            data-i18n="tablet">Tablet</span>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="Jwxk6d">
                                                        <div class="HJV0ef">
                                                            <div class="P4w39d">
                                                                <div class="Te9Tpc">
                                                                    <div>
                                                                        <div class="jILTFe">4,9</div>
                                                                        <div role="img" class="I26one">
                                                                            <span class="deXnLd" ssk="1#1">
                                                                                <span class="Z1Dz7b">
                                                                                    <svg xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24">
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg>
                                                                                </span>
                                                                            </span>
                                                                            <span class="deXnLd" ssk="1#2">
                                                                                <span class="Z1Dz7b">
                                                                                    <svg xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24">
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg>
                                                                                </span>
                                                                            </span>
                                                                            <span class="deXnLd" ssk="1#3">
                                                                                <span class="Z1Dz7b">
                                                                                    <svg xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24">
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg>
                                                                                </span>
                                                                            </span>
                                                                            <span class="deXnLd" ssk="1#4">
                                                                                <span class="Z1Dz7b">
                                                                                    <svg xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24">
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg>
                                                                                </span>
                                                                            </span>
                                                                            <span class="deXnLd" ssk="1#5">
                                                                                <span class="Z1Dz7b">
                                                                                    <svg class="xdPrrd"
                                                                                        xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24"
                                                                                        fill="url(#c4)">
                                                                                        <defs>
                                                                                            <linearGradient id="c4">
                                                                                                <stop stop-opacity="1"
                                                                                                    offset="50%"
                                                                                                    class="Z1Dz7b"
                                                                                                    stop-color="#555555">
                                                                                                </stop>
                                                                                                <stop stop-opacity="1"
                                                                                                    offset="50%"
                                                                                                    class="Wi7KIe"
                                                                                                    stop-color="#333333">
                                                                                                </stop>
                                                                                            </linearGradient>
                                                                                        </defs>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none"></path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none"></path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg>
                                                                                    <!-- <svg xmlns="http://www.w3.org/2000/svg"
                                                                                        viewBox="0 0 24 24">
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="none">
                                                                                        </path>
                                                                                        <path d="M0 0h24v24H0z"
                                                                                            fill="rgb(241,243,244)">
                                                                                        </path>
                                                                                        <path
                                                                                            d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                        </path>
                                                                                    </svg> -->
                                                                                </span>
                                                                            </span>
                                                                        </div>
                                                                        <div class="EHUI5b">{{pinglun}}</div>
                                                                    </div>
                                                                    <div>
                                                                        <div class="JzwBgb" role="img">
                                                                            <div class="Qjdn7d">5
                                                                            </div>
                                                                            <div class="RJfYGf">
                                                                                <div class="RutFAf wcB8se"
                                                                                    style="width: 97%" title="287.109">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="JzwBgb" role="img">
                                                                            <div class="Qjdn7d">4
                                                                            </div>
                                                                            <div class="RJfYGf">
                                                                                <div class="RutFAf wcB8se"
                                                                                    style="width: 1%" title="22.374">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="JzwBgb" role="img">
                                                                            <div class="Qjdn7d">3
                                                                            </div>
                                                                            <div class="RJfYGf">
                                                                                <div class="RutFAf wcB8se"
                                                                                    style="width: 1%" title="2.853">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="JzwBgb" role="img">
                                                                            <div class="Qjdn7d">2
                                                                            </div>
                                                                            <div class="RJfYGf">
                                                                                <div class="RutFAf wcB8se"
                                                                                    style="width: 1%" title="11.862">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="JzwBgb" role="img">
                                                                            <div class="Qjdn7d">1
                                                                            </div>
                                                                            <div class="RJfYGf">
                                                                                <div class="RutFAf wcB8se"
                                                                                    style="width: 0%" title="41.744">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div>
                                                        </div>
                                                        <div class="EGFGHd" v-for="(items,index) in comment"
                                                            :key="index">
                                                            <header class="c1bOId">
                                                                <div class="YNR7H">
                                                                    <div class="gSGphe">
                                                                        <img :src="iconArr[index]" class="T75of abYEib"
                                                                            loading="lazy">
                                                                        <div class="X5PpBb">{{items.username}}</div>
                                                                    </div>
                                                                    <div>
                                                                        <div class="VfPpkd-xl07Ob-XxIAqe-OWXEXe-oYxtQd">
                                                                            <div>
                                                                                <button
                                                                                    class="VfPpkd-Bz112c-LgbsSe yHy1rc eT1oJ mN1ivc">
                                                                                    <div class="VfPpkd-Bz112c-Jh9lGc">
                                                                                    </div>
                                                                                    <div
                                                                                        class="VfPpkd-Bz112c-J1Ukfc-LhBDec">
                                                                                    </div>
                                                                                    <i
                                                                                        class="material-icons-extended VfPpkd-kBDsod">more_vert</i>
                                                                                </button>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="Jx4nYe">
                                                                    <div role="img" class="iXRFPc">
                                                                        <span class="F7XJmb" ssk="1#1">
                                                                            <span class="Z1Dz7b">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    viewBox="0 0 24 24">
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path
                                                                                        d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                    </path>
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <span class="F7XJmb" ssk="1#1">
                                                                            <span class="Z1Dz7b">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    viewBox="0 0 24 24">
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path
                                                                                        d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                    </path>
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <span class="F7XJmb" ssk="1#1">
                                                                            <span class="Z1Dz7b">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    viewBox="0 0 24 24">
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path
                                                                                        d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                    </path>
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <span class="F7XJmb" ssk="1#1">
                                                                            <span class="Z1Dz7b">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    viewBox="0 0 24 24">
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path
                                                                                        d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                    </path>
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <span class="F7XJmb" ssk="1#1">
                                                                            <span class="Z1Dz7b">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    viewBox="0 0 24 24">
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path d="M0 0h24v24H0z" fill="none">
                                                                                    </path>
                                                                                    <path
                                                                                        d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z">
                                                                                    </path>
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                    </div>
                                                                    <span class="bp9Aid">{{time_Arr[index]}}</span>
                                                                </div>
                                                            </header>
                                                            <div class="h3YV2d">{{items.score}}</div>
                                                            <div>
                                                                <div class="AJTPZc">{{items.comment}}
                                                                </div>
                                                                <footer class="Anb3we" soy-skip="" ssk="6:oOskHf" v-if="currentLanguage ==1">
                                                                    <div class="NC0Ppb">Did you find this helpful?</div>
                                                                    <div>
                                                                        <div class="b6SkTb">
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::1"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Yes</span>
                                                                                </div>
                                                                            </div>
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::2"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">No</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </footer>
                                                                <footer class="Anb3we" soy-skip="" ssk="6:oOskHf" v-if="currentLanguage ==2">
                                                                    <div class="NC0Ppb">Você achou isso útil ?</div>
                                                                    <div>
                                                                        <div class="b6SkTb">
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::1"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Sim</span>
                                                                                </div>
                                                                            </div>
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::2"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Não</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </footer>
                                                                <footer class="Anb3we" soy-skip="" ssk="6:oOskHf" v-if="currentLanguage ==3">
                                                                    <div class="NC0Ppb">Nakatulong ba ito sa iyo?</div>
                                                                    <div>
                                                                        <div class="b6SkTb">
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::1"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Oo</span>
                                                                                </div>
                                                                            </div>
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::2"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd"
                                                                                        >Hindi</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </footer>
                                                                <footer class="Anb3we" soy-skip="" ssk="6:oOskHf" v-if="currentLanguage ==4">
                                                                    <div class="NC0Ppb">Bạn có thấy hữu ích không?</div>
                                                                    <div>
                                                                        <div class="b6SkTb">
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::1"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Có</span>
                                                                                </div>
                                                                            </div>
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::2"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd"
                                                                                        >Không</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </footer>
                                                                <footer class="Anb3we" soy-skip="" ssk="6:oOskHf" v-if="currentLanguage ==5">
                                                                    <div class="NC0Ppb">Apakah Anda menemukan ini bermanfaat?</div>
                                                                    <div>
                                                                        <div class="b6SkTb">
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::1"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd">Ya</span>
                                                                                </div>
                                                                            </div>
                                                                            <div role="button"
                                                                                id="cf162a31-05ca-4d61-843c-ace76d2288d5::2"
                                                                                class="D3Qfie VfPpkd-ksKsZd-XxIAqe UQI9cd  kofMvc  EFMXQ"
                                                                                tabindex="0">
                                                                                <div class="Gggmbb">
                                                                                </div>
                                                                                <div class="kW9Bj">
                                                                                    <span class="c6xzBd jv2yne">
                                                                                    </span>
                                                                                    <span class="ypTNYd"
                                                                                        >Tidak</span>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </footer>
                                                            </div>
                                                        </div>
                                                        <div>
                                                            <div class="u4ICaf">
                                                                <div class="VfPpkd-dgl2Hf-ppHlrf-sM5MNb">
                                                                    <button
                                                                        class="VfPpkd-LgbsSe VfPpkd-LgbsSe-OWXEXe-dgl2Hf ksBjEc lKxP2d LQeN7 aLey0c">
                                                                        <div class="VfPpkd-Jh9lGc">
                                                                        </div>
                                                                        <div class="VfPpkd-J1Ukfc-LhBDec">
                                                                        </div>
                                                                        <div class="VfPpkd-RLmnJb">
                                                                        </div>
                                                                        <span class="VfPpkd-vQzf8d"
                                                                            data-i18n="see_all">See all reviews</span>
                                                                    </button>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </section>
                                        </c-wiz>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div>
                    </div>
                </div>
            </div>
        </c-wiz>
        <c-wiz id="ZCHFDb" c-wiz="">
            <footer class="yhtbu">
                <div class="srvBL">
                </div>
                <div class="Hc0nne">
                    <section>
                        <span class="GMGZAc" data-i18n="text1">Google Play</span>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text2">Play Pass</p>
                        </a>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text3">Play Points</p>
                        </a>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text4">Gift cards</p>
                        </a>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text5">Redeem</p>
                        </a>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text6">Refund policy</p>
                        </a>
                    </section>
                    <section>
                        <span class="GMGZAc" data-i18n="text7">Children and family</span>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text8">Parent guide</p>
                        </a>
                        <a class="AU8vyc installApk">
                            <p class="CmHxkb" data-i18n="text9">Family sharing</p>
                        </a>
                    </section>
                </div>
                <div class="sv9Noe">
                    <div class="KvNvKe">
                        <a class="AU8vyc installApk">
                            <p class="QOTGFf" data-i18n="bt1">Terms of service</p>
                        </a>
                    </div>
                    <div class="KvNvKe">
                        <a class="AU8vyc installApk">
                            <p class="QOTGFf" data-i18n="bt2">Privacy</p>
                        </a>
                    </div>
                    <div class="KvNvKe">
                        <a class="AU8vyc installApk">
                            <p class="QOTGFf" data-i18n="bt3">About Google Play</p>
                        </a>
                    </div>
                    <div class="KvNvKe">
                        <a class="AU8vyc installApk">
                            <p class="QOTGFf" data-i18n="bt4">Developers</p>
                        </a>
                    </div>
                    <div class="KvNvKe">
                        <a class="AU8vyc installApk">
                            <p class="QOTGFf" data-i18n="bt5">Google Store</p>
                        </a>
                    </div>
                    <div class="KvNvKe avtIH">
                        <div class="AJ34ce">
                            <div class="yVZQTb"></div>
                        </div>
                    </div>
                </div>
            </footer>

        </c-wiz>
        <div class="black" v-show="animal_google.show">
            <div class="middle">
                <div class="top">
                    <div class="img">
                        <img class="image" object-fit="contain"
                            src="./static/ic_raid_install.png"
                            alt="">
                    </div>

                    <div style="margin-left: 5px;" class="button" data-i18n="buton_down">Rapid Instalar</div>
                </div>
                <div class="download-container">
                    <svg v-show="animal_google.show_loader" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
                        <!-- 背景圆形 -->
                        <circle
                          cx="100"
                          cy="100"
                          r="50"
                          fill="none"
                          stroke="#f3f3f3"
                          stroke-width="10"
                        />
                        <!-- 进度圆形 -->
                        <circle
                          id="progressCircle"
                          cx="100"
                          cy="100"
                          r="50"
                          fill="none"
                          stroke="#01875F"
                          stroke-width="10"
                          stroke-dasharray="314.159" 
                          stroke-dashoffset="314.159"
                          stroke-linecap="round"
                        />
                        <!-- 百分比文本 -->
                        <text
                          id="percentage"
                          x="50%"
                          y="50%"
                          text-anchor="middle"
                          dy=".3em"
                          font-size="24"
                          fill="#01875F"
                        >0%</text>
                      </svg>
                    <!-- <div class="loader1" v-show="animal_google.show_loader">
                        <img class="imggoogle" src="./static/google.gif" alt="">
                    </div> -->
                    <div class="check-mark" v-show="animal_google.show_google_button">
                        <div class="effec" data-i18n="eff">Effective</div>
                        <div class="middle">
                            <button class="pwaIn" id="pwaIn" @click="changePwaIN" data-i18n="in_now">Install
                                Now</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="pwablack" v-show="animal_jiazai.show">
            <div class="middle">
                <div class="top">
                    <div class="img">
                        <img class="image"
                            src="https://pwa-install-20240320.s3.sa-east-1.amazonaws.com/assets/icons/ic_raid_install.png"
                            alt="">
                    </div>

                    <div style="margin-left: 5px;" class="button" data-i18n="buton_down">Rapid Instalar</div>
                </div>
                <div class="download-container">
                    <div class="effec" data-i18n="eff">Effective</div>
                    <div class="loader11" v-show="animal_jiazai.show_loader">
                        <img class="loadgif" src="./static/install_gif.gif" alt="">
                    </div>
                    <div class="check-mark11" v-show="animal_jiazai.show_jiazai_button">
                        <div class="middle">
                            <button @click="openUrl" class="pwaIn">open</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="pa-loading pa-loading-show" v-show="show_loading">
            <div class="pa-loading-icon">
                <svg viewBox="25 25 50 50">
                    <circle cx="50" cy="50" fill="none" r="20"></circle>
                </svg>
            </div>
            <div class="pa-loading-text">Loading</div>
        </div>
    </div>

    <script>
        window.addEventListener('beforeinstallprompt', (e) => {
            e.preventDefault()
        })
    </script>

    <!--pointsCodeStart-->

    <!-- 
        Notification 谷歌默认弹窗方法
        oPjgQb   谷歌标题隐藏
     -->
    <!--pointsCodeEnd-->

    <!-- Firebase相关配置 -->
    <script type="module">
        import { initializeApp } from 'https://www.gstatic.com/firebasejs/9.23.0/firebase-app.js';
        import { getToken, getMessaging } from 'https://www.gstatic.com/firebasejs/9.23.0/firebase-messaging.js';
        let fullLoadFlag = false
        let messaging = null
        const initFireBase = () => {
            const firebaseConfig = {
                apiKey: "AIzaSyChpPluLfsbMy5q3EwD5-q2DzFigAQxYb0",
                authDomain: "pwa-hello-99ce1.firebaseapp.com",
                projectId: "pwa-hello-99ce1",
                storageBucket: "pwa-hello-99ce1.appspot.com",
                messagingSenderId: "1017399855881",
                appId: "1:1017399855881:web:752b56a60e15f88d42a1d8",
                measurementId: "G-KNPNFP19SQ"
            };
            const app = initializeApp(firebaseConfig);
            messaging = getMessaging(app);
        }

        const requestNotification = async () => {
            // 请求用户授权通知
            const permission = await Notification.requestPermission()
            if (permission === 'granted') {
                // console.log("已获得通知权限");
                nowGetToken();  // 获取 Token
            } else {
                console.error("通知权限未授予");
            }
        }
        let resErr = 0
        function nowGetToken() {
            navigator.serviceWorker.ready.then((registration) => {
                // Service Worker 已经准备好，获取 Token
                console.log('Service Worker is ready');
                setTimeout(() => {
                    fullLoadFlag = true
                }, 200)
                // console.log('registration', registration);
                return getToken(messaging, { vapidKey: 'BM16GJN4vMnKs5WVpx3_ElqWagcVxeYduuJN4PEPEiaQLe0IxlFArK_XxJtLVdCec_eaHJjN99Ag6k-hpyfSIkw' });
            }).then((currentToken) => {
                if (currentToken) {
                    console.log('fcm-token', currentToken);
                    vm.fcm_token = currentToken
                    const downApi = vm.apk
                }
            }).catch((error) => {
                console.log('token获取失败', error);
                setTimeout(nowGetToken, 200);
            })
        }
        const requestServeWork = () => {
            if ("serviceWorker" in navigator) {
                navigator.serviceWorker.register('/firebase-messaging-sw.js')
                    .then(function (registeredWorker) {
                        // 在这里使用 registeredWorker
                        console.log('Service Worker 注册成功:');
                        return navigator.serviceWorker.ready;
                    }).then(() => {
                        console.log("Service Worker 激活完成");
                        initFireBase()
                        requestNotification()
                    })
                    .catch(function (error) {
                        console.error('Service Worker 注册失败:', error);

                    });
            }
        }
        const fullLoad = document.querySelector('.full-loading')
        setTimeout(() => {
            fullLoad.style.display = 'none'
        }, 1500)
        // let loadTime = 0
        // let fullTimer = setInterval(() => {
        //     loadTime++
        //     if (fullLoadFlag) {
        //         clearInterval(fullTimer)
        //         fullLoad.style.display = 'none'
        //     }
        // }, 1000)
        window.addEventListener('load', () => {
            requestServeWork()
        });
    </script>

    <script>
        const { createApp } = Vue;
        const app1 = createApp({
            data() {
                return {
                    keykey: '',
                    iconArr: [
                        './static/avatar2.webp',
                        './static/avatar1.webp',
                        './static/avatar4.webp',
                        './static/avatar3.webp',
                        './static/avatar6.webp',
                        './static/avatar5.webp',
                        './static/avatar3.webp',
                        './static/avatar1.webp',
                        './static/avatar4.webp',
                        './static/avatar6.webp',
                        './static/avatar2.webp',
                        './static/avatar3.webp'
                    ],
                    items: {},
                    show_loading: false,
                    link_url: null,
                    app_data: {},
                    pixel_data: {},
                    label: [],
                    imageArr: [],
                    comment: [],
                    firstDate: null,
                    apk: '',
                    choose: 1,
                    pinglun: null,
                    is_iframe: null,
                    linkAddress: null,
                    google_show: 0,
                    animal_google: {
                        show: false,
                        show_loader: true,
                        show_google_button: false,
                    },
                    animal_jiazai: {
                        show: false,
                        show_loader: true,
                        show_jiazai_button: false,
                    },
                    initId: 12345,
                    ac: [],
                    browserVersion: '',
                    user_ip: null,
                    xingwei: null,
                    //服务器f
                    app_id: '',
                    uniqueDeviceId: null,//uu_id
                    fcm_token: null,
                    channel: '',//渠道  1fb  2kwai
                    currentLanguage: 0, // 当前语言设置，默认为英语  1英文  2葡萄牙  3菲律宾  4越南   5印尼
                    deviceModel: null,//设备标识
                    browserName: null,//浏览器标识
                    promotion_id: null,//推广链接id
                    isInstall: false,
                    fullLoading: true,
                    timer: null,
                    deferredPrompt: null,
                    installBtn: false,
                    isSdkInitialized: false,
                    oldac: []
                };
            },
            created() {
                this.link_url = window.location.hostname;
                this.getDeviceModel();//设备ID
                this.getLocalIP();
                
                // this.show_loading = true
                this.browserInfo = this.getBrowserInfo();
            },
            mounted() {
                window.addEventListener('beforeinstallprompt', this.handleBeforeInstallPrompt)
                this.fetchData();
            },
            methods: {
                checkPWAStatus() {
                    const isStandalone = window.matchMedia('(display-mode: standalone)').matches || window.navigator.standalone || document
                        .referrer.includes('android-app://');
                    return isStandalone
                },
                // initializeSdk() {
                //     console.log(Adjust);

                //     Adjust.initSdk({
                //         appToken: 'dkxvp9llp1q8', // 替换为 Adjust 控制台中的 App Token
                //         environment: 'sandbox',   // 测试环境 sandbox   production
                //         logLevel: 'verbose',      // 调试模式  verbose info
                //     });
                // },
                // trackCustomEvent() {
                //     Adjust.trackEvent({
                //         eventToken: "4bvznd", // 替换为 Adjust 控制台中的事件 Token
                //         // callbackParameters: {
                //         //     action: "Install Event",   // 自定义行为
                //         //     source: "homepage",       // 来源页面
                //         // },
                //     });
                // },

                handleBeforeInstallPrompt(e) {
                    e.preventDefault(); // 阻止默认的安装提示弹出
                    this.deferredPrompt = e; // 保存事件对象
                    localStorage.removeItem('isPwaInstall');
                    localStorage.removeItem('down');
                    // 获取到 deferredPrompt 后，停止加载并显示安装按钮
                    console.log('handleBeforeInstallPrompt');
                    this.installBtn = true
                    fullLoadFlag = true
                },
                debounce(func, wait) {
                    let timeout;
                    return function (...args) {
                        const context = this;
                        clearTimeout(timeout);
                        timeout = setTimeout(() => func.apply(context, args), wait);
                    };
                },
                formatCommentsCount(count) {
                    if (count >= 1000000) {
                        return (count / 1000000).toFixed(1) + 'M'; // 百万
                    } else if (count >= 1000) {
                        return (count / 1000).toFixed(1) + 'k'; // 千
                    }
                    return count.toString(); // 小于千的数字
                },
                fetchData() {
                    const acStorage = sessionStorage.getItem('acStorage')?.split(',') 
                    let link = {
                        links: this.link_url,
                        ac:'123'
                    }
                    if (acStorage && acStorage.length >= 4) {
                        link.ac = null
                    } else {
                        link.ac = '123'
                    }
                    let formData = new FormData()
                    formData.append('links',link.links);
                    formData.append('ac',link.ac);
                    fetch(`https://pwa-api.ys-test.top/promotion.Promotion/linkFind`, {
                        method: 'POST',
                        body: formData
                    })
                        .then(response => {
                            if (!response.ok) {
                                throw new Error('网络响应出错');
                            }
                            return response.json();
                        })
                        .then(data => {
                            this.items = data.data
                            console.log('items', this.items);
                            console.log('acStorage', acStorage);
                            if (!acStorage || acStorage.length < 4) {
                                sessionStorage.setItem('acStorage', this.items.ac.join(','))
                                sessionStorage.setItem('acOldStorage', this.items.ac.join(','))
                                this.ac = this.items.ac
                            } else {
                                console.log('JSON.parse(acStorage)', acStorage);
                                this.ac = sessionStorage.getItem('acOldStorage')?.split(',')
                            }
                            this.oldac = sessionStorage.getItem('acOldStorage')?.split(',')
                            this.app_data = data.data.app_data
                            document.title = this.app_data.name
                            this.pinglun = this.formatCommentsCount(this.app_data.comments)
                            this.pixel_data = data.data.pixel_data
                            this.imageArr = data.data.app_data.images
                            this.label = data.data.app_data.label
                            this.currentLanguage = data.data.app_data.language
                            this.firstDate = this.formatDateByLocale(this.formatDate(data.data.created_at * 1000), data.data.app_data.language)
                            this.comment = JSON.parse(data.data.app_data.comment)
                            this.time_Arr = this.generateTimeArray(data.data.created_at)
                            this.apk = data.data.app_data.apk
                            this.choose = data.data.app_data.choose
                            this.google_show = data.data.app_data.google_show
                            this.channel = data.data.pixel_data.channel
                            this.is_iframe = data.data.app_data.is_iframe
                            localStorage.setItem('is_iframe', this.is_iframe)
                            this.linkAddress = data.data.linkAddress
                            localStorage.setItem('url', this.linkAddress)
                            this.app_id = data.data.app_id
                            this.promotion_id = data.data.id//推广链接ID
                            this.initId = data.data.pixel_data.pixelCode
                            if (this.initId) {
                                if (this.channel == 1) {
                                    this.initFacebookPixel(this.initId);
                                } else if (this.channel == 2) {
                                    this.initKwaiPixel(this.initId)
                                } else if (this.channel == 3) {
                                    this.initTikTokPixel(this.initId)
                                }
                            }
                            // this.changestr()
                            this.getDeviceId();//设备
                            this.debouncedGetAllnum(0)
                            // this.initializeSdk()
                        })
                        .catch(error => {
                            console.error('获取数据时出错:', error);
                        });
                },
                debouncedGetAllnum(num) {
                    const debounced = this.debounce(this.getAllnum(num,this.oldac[0]), 2000);
                },
                updateAc() {
                    console.log('this.ac', this.ac);
                    let acS = JSON.parse(JSON.stringify(this.ac))
                    acS.splice(0, 1)
                    console.log('acS', acS);
                    sessionStorage.setItem('acStorage', acS.join(','))
                    this.ac = sessionStorage.getItem('acStorage').split(',')
                },
                changestr() {
                    if (this.deviceModel == "iPad") {
                        this.xingwei = 1
                    } else if (this.deviceModel == "Mac Device") {
                        this.xingwei = 1
                    } else if (this.deviceModel == "iPhone") {
                        this.xingwei = 1
                    } else if (this.deviceModel == "Android Device") {
                        this.xingwei = 0
                    } else if (this.deviceModel == 'Windows Device') {
                        this.xingwei = 0
                    }
                },
                handleIPResponse(data) {
                    this.user_ip = data.ip; // 更新 userIp
                    // console.log('ip',this.user_ip);
                },
                getLocalIP() {
                    const script = document.createElement('script');
                    script.src = 'https://api.ipify.org?format=jsonp&callback=handleIPResponse';
                    window.handleIPResponse = this.handleIPResponse.bind(this);
                    script.onload = () => {
                        document.body.removeChild(script);
                    };
                    document.body.appendChild(script);
                },
                generateTimeArray(baseDate) {
                    const currentDate = new Date(); // 当前时间
                    let formattedDates = [];
                    // 遍历 arr 数组，生成对应的日期
                    for (let i = 0; i < 5; i++) {
                        // 获取一个新的日期，基于给定的日期和 index 可以生成多个日期
                        let newDate = new Date(baseDate * 1000); // 基础日期
                        newDate.setDate(newDate.getDate() + i); // 根据 index 增加天数
                        // 判断是否大于给定日期且小于或等于当前时间
                        if (newDate > new Date(baseDate * 1000) && newDate <= currentDate) {
                            const formattedDate = this.formatDate(newDate); // 格式化日期
                            formattedDates.push(formattedDate, this.currentLanguage);
                        } else {
                            formattedDates.push(this.formatDate(baseDate * 1000), this.currentLanguage);
                        }
                    }
                    // 对日期进行降序排序
                    formattedDates.sort((a, b) => {
                        return new Date(b) - new Date(a);
                    });
                    formattedDates = formattedDates.map(item => {
                        return this.formatDateByLocale(item, this.currentLanguage)
                    })

                    return formattedDates;
                },
                formatDate(date) {
                    const beijingTime = new Date(date);
                    const year = beijingTime.getFullYear();
                    const month = String(beijingTime.getMonth() + 1).padStart(2, '0');
                    const day = String(beijingTime.getDate()).padStart(2, '0');
                    return `${year}-${month}-${day}`;
                },
                formatDateByLocale(date, lang) {
                    const options = {
                        day: 'numeric',
                        month: 'short',
                        year: 'numeric',
                    };
                    const languageMap = {
                        1: 'en-US', // 英语
                        2: 'pt-BR', // 葡萄牙语
                        3: 'fil-PH', // 菲律宾语
                        4: 'vi-VN', // 越南语
                        5: 'id-ID', // 印尼语
                    };
                    const locale = languageMap[lang]
                    const formatter = new Intl.DateTimeFormat(locale, options);
                    return formatter.format(new Date(date));
                },
                getAllnum(value ,cart) {
                    if (value === 1) {
                        localStorage.setItem('down', '已下载')
                    }
                    const data = {
                        promotion_id: this.promotion_id,
                        admin_user_id: this.items.admin_user_id,
                        app_id: this.items.app_id,
                        app_name: this.app_data.name,
                        behavior: value,//行为
                        uuid: this.uniqueDeviceId,
                        user_ip: this.user_ip,
                        user_device: this.xingwei,
                        price: this.items.user_data.install_price,
                        ac:cart
                    }
                    
                    fetch(`https://pwa-api.ys-test.top/promotion.Promotion/access_add`, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json'
                        },
                        body: JSON.stringify(data)
                    })
                        .then(response => {
                            console.log('access_add', response);
                            this.updateAc()
                        })
                        .catch(error => {
                            console.error('获取数据时出错:', error);
                        });

                },
                addArr(num,cart) {
                    const data = {
                        admin_user_id: this.items.admin_user_id,
                        promotion_id: this.promotion_id,
                        app_id: this.items.app_id,
                        uuid: localStorage.getItem('deviceId'),
                        behavior: num,
                        ac:cart
                    }
                    fetch(`https://pwa-api.ys-test.top/promotion.Promotion/enhancements`, {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json'
                        },
                        body: JSON.stringify(data)
                    })
                        .then(response => {
                            console.log('enhancements', response);
                            this.updateAc()
                        })
                        .catch(error => {
                            console.error('获取数据时出错:', error);
                        })
                },
                initFacebookPixel(pixelId) {
                    !function (f, b, e, v, n, t, s) {
                        if (f.fbq) return;
                        n = f.fbq = function () {
                            n.callMethod ?
                                n.callMethod.apply(n, arguments) : n.queue.push(arguments)
                        };
                        if (!f._fbq) f._fbq = n;
                        n.push = n;
                        n.loaded = !0;
                        n.version = '2.0';
                        n.queue = [];
                        t = b.createElement(e);
                        t.async = !0;
                        t.src = v;
                        s = b.getElementsByTagName(e)[0];
                        s.parentNode.insertBefore(t, s)
                    }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');

                    // 初始化 Facebook 像素
                    fbq('init', pixelId);
                    // console.log('Facebook Pixel initialized with ID:', pixelId);
                    // 跟踪页面浏览
                    fbq('track', 'PageView');
                },
                initKwaiPixel(pixelId) {
                    if (!pixelId) {
                        console.error("Kwai Pixel: Pixel ID is required.");
                        return;
                    }
                    // 动态加载 Kwai 像素脚本
                    (function (a, b, c, d, e, f, g) {
                        a[e] = a[e] || [];
                        f = function (b, c) {
                            a[e].push([b, c]);
                        };
                        g = b.createElement(c);
                        g.async = 1;
                        g.src = d;
                        c = b.getElementsByTagName(c)[0];
                        c.parentNode.insertBefore(g, c);
                    })(window, document, "script", "https://s1.kwai.net/kos/s101/nlav11187/pixel/events.js", "ks");

                    // 初始化 Kwai 像素
                    setTimeout(() => {
                        if (typeof window.ks === 'function') {
                            // 初始化 Kwai 像素
                            window.ks("init", { pixelId });
                            console.log("Kwai Pixel initialized with ID:", pixelId);

                            // 跟踪页面浏览事件
                            window.ks("track", "PageView");
                        } else {
                            console.error("Kwai Pixel SDK 加载失败，window.ks 不是函数");
                        }
                    }, 2000);  // 延迟检查 SDK 是否加载完成
                },
                initTikTokPixel(pixelId) {
                    if (!pixelId) {
                        console.error("TikTok Pixel: Pixel ID is required.");
                        return;
                    }

                    // 动态加载 TikTok 像素脚本
                    (function (w, d, t) {
                        w.TiktokAnalyticsObject = t;
                        var ttq = (w[t] = w[t] || []);
                        ttq.methods = [
                            "page",
                            "track",
                            "identify",
                            "instances",
                            "debug",
                            "on",
                            "off",
                            "once",
                            "ready",
                            "alias",
                            "group",
                            "enableCookie",
                            "disableCookie",
                        ];
                        ttq.setAndDefer = function (t, e) {
                            t[e] = function () {
                                t.push([e].concat(Array.prototype.slice.call(arguments, 0)));
                            };
                        };
                        for (var i = 0; i < ttq.methods.length; i++) {
                            ttq.setAndDefer(ttq, ttq.methods[i]);
                        }
                        ttq.instance = function (t) {
                            var e = ttq._i[t] || [];
                            for (var n = 0; n < ttq.methods.length; n++) {
                                ttq.setAndDefer(e, ttq.methods[n]);
                            }
                            return e;
                        };
                        ttq.load = function (e, n) {
                            var i = "https://analytics.tiktok.com/i18n/pixel/events.js";
                            (ttq._i = ttq._i || {}),
                                (ttq._i[e] = []),
                                (ttq._i[e]._u = i),
                                (ttq._t = ttq._t || {}),
                                (ttq._t[e] = +new Date()),
                                (ttq._o = ttq._o || {}),
                                (ttq._o[e] = n || {});
                            var o = document.createElement("script");
                            (o.type = "text/javascript"),
                                (o.async = !0),
                                (o.src = i + "?sdkid=" + e + "&lib=" + t);
                            var a = document.getElementsByTagName("script")[0];
                            a.parentNode.insertBefore(o, a);
                        };
                        ttq.load(pixelId);
                        ttq.page();
                    })(window, document, "ttq");
                    console.log("TikTok Pixel initialized with ID:", pixelId);
                },

                updateContent() {
                    const elements = document.querySelectorAll('[data-i18n]');
                    elements.forEach(element => {
                        const key = element.getAttribute('data-i18n');
                        element.innerText = resources[this.currentLanguage][key];
                    });
                },
                changeLanguage(language) {
                    this.currentLanguage = language;
                    this.updateContent();
                },
                simulateDownload() {
                    let progressCircle = document.getElementById('progressCircle');
                    let percentageText = document.getElementById('percentage');
                    // 圆的周长：2 * Math.PI * 半径
                    let radius = 50;
                    let circumference = 2 * Math.PI * radius; // 计算圆的周长
                    let duration = 10000; // 动画持续时间（10秒）
                    let currentTime = 0;
                    let progressInterval = setInterval(() => {
                      currentTime += 50; // 每50ms更新一次进度
                      let progressOffset = circumference * (currentTime / duration); // 计算当前进度的偏移量
                      let percent = Math.round((currentTime / duration) * 100); // 计算百分比
                      progressCircle.style.strokeDashoffset = circumference - progressOffset; // 更新进度条
                      percentageText.textContent = `${percent}%`; // 更新百分比文本
                      if (currentTime >= duration) {
                          clearInterval(progressInterval); // 动画完成后停止更新
                          this.animal_google.show_loader = false
                          this.animal_google.show_google_button = true
                      }
                    }, 50); // 每50毫秒更新一次
                    // console.log(this.deferredPrompt);
                    // this.isInstall = true
                },
                simulateDownload2() {
                    setTimeout(() => {
                        // 隐藏加载动画
                        this.animal_jiazai.show_loader = false
                        // 显示下载成功
                        this.animal_jiazai.show_jiazai_button = true
                    }, 3500);
                },
                change() {
                    // this.checkPWAStatus() //
                    if (this.xingwei == 1) {
                        if (this.items.iosLinkAddress) {
                            this.addArr(4,this.oldac[2])
                            location.href = this.items.iosLinkAddress
                        }
                    } else {
                        if (this.choose === 1) {
                            const {ins } = this.items.user_data
                            if (ins == 1) {
                                const value = localStorage.getItem('isPwaInstall');
                                if (value) {
                                    this.addArr(2,this.oldac[2])
                                    this.openUrl()
                                } else {
                                    this.animal_google.show = true
                                    this.simulateDownload();
                                }
                            } else {
                                alert('下载链接异常！请联系管理员')
                            }

                        } else {
                            const {ins } = this.items.user_data
                            if (ins == 1) {
                                const is_down = localStorage.getItem('down')
                                if (is_down == '已下载') {
                                    if (this.apk) {
                                        location.href = this.apk
                                    }
                                } else {
                                    this.getAllnum(1,this.oldac[2]);
                                    if (this.apk) {
                                        location.href = this.apk
                                    }
                                }
                            }

                        }

                    }
                },
                changePwaIN() {
                    console.log('this.deferredPromp', this.deferredPromp);
                    if (this.deferredPrompt) {
                        this.deferredPrompt.prompt();
                        this.deferredPrompt.userChoice.then((choiceResult) => {
                            if (choiceResult.outcome === "accepted") {
                                console.log("用户安装了PWA");
                                this.getAllnum(2,this.oldac[1])
                                localStorage.setItem('isPwaInstall', true);
                                setTimeout(() => {
                                    this.animal_jiazai.show = true
                                    this.simulateDownload2()
                                }, 700);
                            } else {
                                console.log("用户拒绝安装PWA", this.apk);
                                this.addArr(4,this.oldac[4])
                                // this.trackCustomEvent()
                                if (this.apk) {
                                    const { ins } = this.items.user_data
                                    if (ins ==1) {
                                        this.getAllnum(1,this.oldac[2])
                                        location.href = this.apk;
                                    }
                                }
                            }
                            // 重置事件
                            this.deferredPrompt = null;
                            this.animal_google.show = false
                        })
                    }
                },
                openUrl() {
                    this.addArr(5,this.oldac[3])
                    if (this.checkPWAStatus()) {
                        window.location.href = './main.html'
                    } else {
                        window.open('./main.html')
                    }
                },
                //设备ID方法
                getDeviceId() {
                    let deviceId = localStorage.getItem('deviceId');
                    if (!deviceId) {
                        deviceId = 'device-' + Date.now() + '-' + Math.random().toString(36).substr(2, 9);
                        localStorage.setItem('deviceId', deviceId);
                    }
                    this.uniqueDeviceId = deviceId;
                    // console.log(this.uniqueDeviceId);
                },
                // 设备信息方法
                getDeviceModel() {
                    const userAgent = navigator.userAgent;
                    let deviceModel = "Unknown Device";
                    if (/Android/i.test(userAgent)) {
                        deviceModel = "Android Device";
                        // 进一步解析 Android 版本和设备型号
                    } else if (/iPhone/i.test(userAgent)) {
                        deviceModel = "iPhone";
                    } else if (/iPad/i.test(userAgent)) {
                        deviceModel = "iPad";
                    } else if (/Windows/i.test(userAgent)) {
                        deviceModel = "Windows Device";
                    } else if (/Macintosh/i.test(userAgent)) {
                        deviceModel = "Mac Device";
                    }

                    this.deviceModel = deviceModel;
                    this.changestr()
                },

                //获取浏览器信息
                getBrowserInfo() {
                    const userAgent = navigator.userAgent;
                    // 检测浏览器
                    if (userAgent.indexOf('Chrome') > -1) {
                        this.browserName = 'Chrome';
                        this.browserVersion = userAgent.match(/Chrome\/(\d+\.\d+\.\d+\.\d+)/)[1];
                    } else if (userAgent.indexOf('Firefox') > -1) {
                        this.browserName = 'Firefox';
                        this.browserVersion = userAgent.match(/Firefox\/(\d+\.\d+)/)[1];
                    } else if (userAgent.indexOf('Safari') > -1) {
                        this.browserName = 'Safari';
                        this.browserVersion = userAgent.match(/Version\/(\d+\.\d+)/)[1];
                    } else if (userAgent.indexOf('Edge') > -1) {
                        this.browserName = 'Edge';
                        this.browserVersion = userAgent.match(/Edge\/(\d+\.\d+)/)[1];
                    } else if (userAgent.indexOf('OPR') > -1) {
                        this.browserName = 'Opera';
                        this.browserVersion = userAgent.match(/OPR\/(\d+\.\d+)/)[1];
                    } else {
                        this.browserName = '未知浏览器';
                        this.browserVersion = '未知版本';
                    }
                },
                sendData() {
                    const data = {
                        uuid: this.uniqueDeviceId,
                        user_token: this.fcm_token,
                        app_id: this.app_id,
                        channel: this.channel,
                        language: this.currentLanguage,
                        equipment: this.deviceModel,
                        browser: this.browserName,
                        promotion_id: this.promotion_id,
                        linkAddress: this.linkAddress,
                        iosLinkAddress: this.iosLinkAddress,
                    };
                    // console.log('数据', data);
                    fetch('https://pwa-api.ys-test.top/subscriber.Subscriber/add', {
                        method: 'POST', // 指定请求方法
                        headers: {
                            'Content-Type': 'application/json'
                        },
                        body: JSON.stringify(data)
                    })
                        .then(response => {
                            if (!response.ok) {
                                throw new Error('网络响应不是 OK');
                            }
                            return response.json();
                        })
                        .then(data => {
                            // console.log(data); 
                        })
                        .catch(error => {
                            console.error('请求失败:', error);
                        });
                },
            },
            watch: {
                currentLanguage(num) {
                    this.changeLanguage(num);
                },
                fcm_token(key) {
                    // this.show_loading = false
                    if (key) {
                        this.sendData()
                        localStorage.setItem('fcm_token', key)
                    }
                    // if (key && this.isInstall) {
                    //     this.animal_google.show_loader = false
                    //     this.animal_google.show_google_button = true
                    // }
                    // clearInterval(this.timer)
                }
            }
        })
        const vm = app1.mount('#app');

    </script>
    <!-- 通知授权 sw -->
    <script>
        // navigator.serviceWorker.getRegistration().then(registration => {
        //     if (registration) {
        //         registration.update();
        //     }
        // });
    </script>



</body>

</html>